interface Sim900DriverLayer
{	
	command error_t openSocket();
	event void openSocketDone(error_t success);
	
	command error_t writeSocket(char *data, uint8_t len);
	event void writeSocketDone(error_t success);
	event void socketDataReceived(char *data);
	event void socketDisposed();
	
	command error_t closeSocket();
	event void closeSocketDone(error_t success);
	
	command error_t resetSocket();
	event void resetSocketDone(error_t success);
	
	command error_t cmgs(char *phoneNum, char *data);
	event void cmgsDone(error_t success);
}